package com.bjpowernode.springboot.entity;

import javax.websocket.Session;
import java.io.Serializable;

public class UserLoginSession implements Serializable { // 该对象需要序列化到数据库中
    private int sessionId;
    private Session session;

    public int getSessionId() {
        return sessionId;
    }

    public void setSessionId(int sessionId) {
        this.sessionId = sessionId;
    }

    public Session getSession() {
        return session;
    }

    public void setSession(Session session) {
        this.session = session;
    }
}
